package org.tgcloud.group.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
* @Author: zhy
* @Created: 2024-07-09-下午1:06
* @Description: ${description}
*/

/**
 * 后台用户表
 */
@ApiModel(description = "后台用户表")
@Data
public class SysManagerUser {
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 登录账户
     */
    @ApiModelProperty(value = "登录账户")
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 1-可用 2-禁用 3-删除
     */
    @ApiModelProperty(value = "1-可用 2-禁用 3-删除")
    private Short status;

    @ApiModelProperty(value = "")
    private Date createTime;

    /**
     * 密码加密使用
     */
    @ApiModelProperty(value = "密码加密使用")
    private String salt;

    @ApiModelProperty(value = "")
    private String account;

    @ApiModelProperty(value = "")
    private String roleId;

    @ApiModelProperty(value = "")
    private Date lastLoginTime;

    /**
     * 绑定用户id
     */
    @ApiModelProperty(value = "绑定用户id")
    private Integer bindUserId;


    /**
     * 部门，可以绑定多个部门
     */
    @ApiModelProperty(value = "部门，可以绑定多个部门")
    private String departIds;
}